<?php
('Access-Control-Allow-Origin：*');
include("../config/mysql.php");
$id = $_POST["id"];
$name = $_POST["name"];
$db = new mysql();
$sql = "UPDATE educationType SET name = '{$name}' WHERE id = {$id}";
echo $db->Query($sql);
$db->close();
